StockAuctionSummary
These records represent current and recent trailing market open/close auction results
METADATA
Attribute | Value |
---|---|
Topic | 2990-market-data-stock |
MLink Token | ClientLive |
Product | SRLive |
accessType | SELECT |
Table Definition
Field | Type | Key | Default Value | Comment |
---|---|---|---|---|
ticker_at | enum - AssetType | PRI | 'None' | |
ticker_ts | enum - TickerSrc | PRI | 'None' | |
ticker_tk | VARCHAR(12) | PRI | '' | |
auctionType | enum - StockAuctionType | PRI | 'None' | |
auctionPrice | FLOAT | 0 | ||
auctionVolume | INT | 0 | ||
auctionDate | DATE | '1900-01-01' | ||
auctionPrice1 | FLOAT | 0 | ||
auctionVolume1 | INT | 0 | ||
auctionDate1 | DATE | '1900-01-01' | ||
auctionPrice2 | FLOAT | 0 | ||
auctionVolume2 | INT | 0 | ||
auctionDate2 | DATE | '1900-01-01' | ||
auctionPrice3 | FLOAT | 0 | ||
auctionVolume3 | INT | 0 | ||
auctionDate3 | DATE | '1900-01-01' | ||
auctionPrice4 | FLOAT | 0 | ||
auctionVolume4 | INT | 0 | ||
auctionDate4 | DATE | '1900-01-01' | ||
auctionPrice5 | FLOAT | 0 | ||
auctionVolume5 | INT | 0 | ||
auctionDate5 | DATE | '1900-01-01' | ||
timestamp | DATETIME(6) | '1900-01-01 00:00:00.000000' |
PRIMARY KEY DEFINITION (Unique)
Field | Sequence |
---|---|
ticker_tk | 1 |
ticker_at | 2 |
ticker_ts | 3 |
auctionType | 4 |
CREATE TABLE EXAMPLE QUERY
CREATE TABLE `SRLive`.`MsgStockAuctionSummary` (
`ticker_at` ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY') NOT NULL DEFAULT 'None',
`ticker_ts` ENUM('None','SR','NMS','CME','ICE','CFE','CBOT','NYMEX','COMEX','RUT','CIDX','ARCA','NYSE','OTC','NSDQ','MFQS','MIAX','DJI','CUSIP','ISIN','BXE','EUX','ANY','CXE','DXE','NXAM','NXBR','NXLS','NXML','NXOS','NXP','EUREX','CEDX','ICEFE') NOT NULL DEFAULT 'None',
`ticker_tk` VARCHAR(12) NOT NULL DEFAULT '',
`auctionType` ENUM('None','Opening','Closing') NOT NULL DEFAULT 'None',
`auctionPrice` FLOAT NOT NULL DEFAULT 0,
`auctionVolume` INT NOT NULL DEFAULT 0,
`auctionDate` DATE NOT NULL DEFAULT '1900-01-01',
`auctionPrice1` FLOAT NOT NULL DEFAULT 0,
`auctionVolume1` INT NOT NULL DEFAULT 0,
`auctionDate1` DATE NOT NULL DEFAULT '1900-01-01',
`auctionPrice2` FLOAT NOT NULL DEFAULT 0,
`auctionVolume2` INT NOT NULL DEFAULT 0,
`auctionDate2` DATE NOT NULL DEFAULT '1900-01-01',
`auctionPrice3` FLOAT NOT NULL DEFAULT 0,
`auctionVolume3` INT NOT NULL DEFAULT 0,
`auctionDate3` DATE NOT NULL DEFAULT '1900-01-01',
`auctionPrice4` FLOAT NOT NULL DEFAULT 0,
`auctionVolume4` INT NOT NULL DEFAULT 0,
`auctionDate4` DATE NOT NULL DEFAULT '1900-01-01',
`auctionPrice5` FLOAT NOT NULL DEFAULT 0,
`auctionVolume5` INT NOT NULL DEFAULT 0,
`auctionDate5` DATE NOT NULL DEFAULT '1900-01-01',
`timestamp` DATETIME(6) NOT NULL DEFAULT '1900-01-01 00:00:00.000000',
PRIMARY KEY USING HASH (`ticker_tk`,`ticker_at`,`ticker_ts`,`auctionType`)
) ENGINE=SRSE DEFAULT CHARSET=LATIN1 COMMENT='These records represent current and recent trailing market open/close auction results';
SELECT TABLE EXAMPLE QUERY
SELECT
`ticker_at`,
`ticker_ts`,
`ticker_tk`,
`auctionType`,
`auctionPrice`,
`auctionVolume`,
`auctionDate`,
`auctionPrice1`,
`auctionVolume1`,
`auctionDate1`,
`auctionPrice2`,
`auctionVolume2`,
`auctionDate2`,
`auctionPrice3`,
`auctionVolume3`,
`auctionDate3`,
`auctionPrice4`,
`auctionVolume4`,
`auctionDate4`,
`auctionPrice5`,
`auctionVolume5`,
`auctionDate5`,
`timestamp`
FROM `SRLive`.`MsgStockAuctionSummary`
WHERE
/* Replace with a ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY') */
`ticker_at` = 'None'
AND
/* Replace with a ENUM('None','SR','NMS','CME','ICE','CFE','CBOT','NYMEX','COMEX','RUT','CIDX','ARCA','NYSE','OTC','NSDQ','MFQS','MIAX','DJI','CUSIP','ISIN','BXE','EUX','ANY','CXE','DXE','NXAM','NXBR','NXLS','NXML','NXOS','NXP','EUREX','CEDX','ICEFE') */
`ticker_ts` = 'None'
AND
/* Replace with a VARCHAR(12) */
`ticker_tk` = 'Example_ticker_tk'
AND
/* Replace with a ENUM('None','Opening','Closing') */
`auctionType` = 'None';
Doc Columns Query
SELECT * FROM SRLive.doccolumns WHERE TABLE_NAME='StockAuctionSummary' ORDER BY ordinal_position ASC;